﻿using System;

namespace BSharp.Compiler
{
	public class ConstantExpression : AstNode
	{
		public readonly int Value;

		public ConstantExpression (SourceLocation location, int value)
			: base (location)
		{
			Value = value;
		}

		public override void Visit (AstVisitor visitor)
		{
			visitor.Accept (this);
		}
	}
}

